home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / Q-R / ResTools.cpt / ResTools / ResTools 1.1.rsrc / HTXT_7_Giving resources names and setting attributes_ < prev    next >
Encoding:
Text File  |  1987-06-05  |  518 b   |  17 lines

  1. Resources can be given names by including a name after the
  2. resource ID and before the attributes entries. Example:
  3.  
  4. resource 'STR '  (128, "ResourceName" , preLoad)  
  5. {
  6.     "This is a named string resource"
  7. }; 
  8.  
  9. The following attributes are predefined although any numeric expression
  10. is also acceptable: "sysheap","purgeable","locked","protected", "preload".
  11. The following are some examples of how these can be used:
  12.  
  13.     (128)
  14.     (128,preload,purgeable,locked,protected)
  15.     (128,34)
  16.     (128,"SuperResource",preload+locked)
  17.